import ProxyInterface from '../proxy-interface';
import {ActivityPageModel} from '@pkpm/pkpm-types';

class ActivityPageProxy implements ProxyInterface<ActivityPageModel> {
    public activityPageModel = new ActivityPageModel();

    constructor(responseData) {
        let data = responseData || responseData;
        Object.assign<ActivityPageModel, any>(this.activityPageModel, data);
    }

    public getModel(): ActivityPageModel {
        return this.activityPageModel;
    }
}

export default ActivityPageProxy;
